package com.fenghongzhang.kuaishou.index.home.contract;

import com.fenghongzhang.kuaishou.index.home.entity.VideoBean;
import com.fenghongzhang.kuaishou.utils.ResponseBean;
import com.fenghongzhang.mvp_lib.model.IModel;
import com.fenghongzhang.mvp_lib.view.IView;

import java.util.List;

import io.reactivex.Observer;

/**
 * http://127.0.0.1:8080/video/getAll
 * 关注的数据
 */
public interface AttentFragmentContract {

    interface IAttentModel extends IModel{
        void getVideoList(Observer<ResponseBean<List<VideoBean>>> observer);
    }

    interface IAttentlView extends IView {
        void initAdapter(ResponseBean<List<VideoBean>> list);
    }
}
